/*
 * Copyright 2003-2005 (c) Live Media Pty Ltd. <argot@einet.com.au> 
 *
 * This software is licensed under the Argot Public License 
 * which may be found in the file LICENSE distributed 
 * with this software.
 *
 * More information about this license can be found at
 * http://www.einet.com.au/License
 * 
 * The Developer of this software is Live Media Pty Ltd,
 * PO Box 4591, Melbourne 3001, Australia.  The license is subject 
 * to the law of Victoria, Australia, and subject to exclusive 
 * jurisdiction of the Victorian courts.
 */
 
#ifndef TYPESERVER
#define TYPESERVER

#ifdef __cplusplus
extern "C" {
#endif

typedef struct type_server
{
	type_library * library;
	type_map pmap;
	dynamic_type_map * refMap;
}
type_server;

void type_server_init( type_server * server, type_library * library, dynamic_type_map * refMap );

int typeServerLink( void * serverData, argot_read msgReader, void * msgReaderData, argot_write msgWriter, void * msgWriterData );

#ifdef __cplusplus
}
#endif

#endif
